package com.hongpu.enums;

/**
 * @author 张玉胜
 * @since 2025年05月19日
 */
public enum YesOrNoEnum {
    YES(1, "是"),
    NO(0, "否");


    private Integer value;
    private String desc;

    YesOrNoEnum(final Integer value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return this.value;
    }

    public String getDesc() {
        return this.desc;
    }
}
